package org.example.domain;

public class MyCalc {
    //定义变量
    private String first;//第一个数
    private String second;//第二个数
    private String operator;//运算符
    private String result;//运算结果

    //定义set和get方法
    public String getFirst() {
        return first;
    }
    public void setFirst(String first) {
        this.first = first;
    }
    public String getSecond() {
        return second;
    }
    public void setSecond(String second) {
        this.second = second;
    }
    public String getOperator() {
        return operator;
    }
    public void setOperator(String operator) {
        this.operator = operator;
    }
    public String getResult() {
        return result;
    }
    public void setResult(String result) {
        this.result = result;
    }
}
